<script setup>
import {ref} from 'vue'

//子父组件传输数据Props
const props = defineProps({
    type:String
})

</script>
<template>
<div class="left-top" v-if="props.type == '常用功能'"> {{ props.type }}</div>
<div class="left-top" v-if="props.type == '工具设置'"> {{ props.type }}</div>
</template>
<style scoped>
.left-top{
    position: relative;
    top: 15px;
    left: 10px;
    width: 100px;
    height: 20px;
    color: black;
    font-size: 14px;
    font-weight: bolder;
}
</style>